import { pubRequire } from '@utils/public'
const baseUrl = '/openid-user-relation'
/* 列表 */
export function openidUserRelationList(obj, callbBack, errBack) {
  return pubRequire('get', `${baseUrl}`, obj, callbBack, errBack)
}
/* 下载模板 */
export function downUrl() {
  return `${baseUrl}/excel-template`
}
/* 批量导入 */
export function importOpenIds() {
  return `${baseUrl}/import`
}
/* 手动导入 */
export function manualImport(obj, callbBack, errBack) {
  return pubRequire('post', `${baseUrl}${baseUrl}`, obj, callbBack, errBack)
}
/* 导入详情 */
export function importDetail(obj, callbBack, errBack) {
  return pubRequire('get', `${baseUrl}/import-tasks`, obj, callbBack, errBack)
}
